package com.dc.project.model;

import java.io.Serializable;
import java.util.Date;

public class Customer implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 客户自增id
	 *
	 */
	private int customer_id;

	/**
	 * 用户id
	 *
	 */
	private int fk_user_id;

	/**
	 * 用户个人信息id
	 *
	 */
	private int user_info_id;

	/**
	 * 所属课程顾问id*
	 *
	 */
	private int fk_consultant_id;

	/**
	 * 所属课程顾问名字*
	 *
	 */
	private String consultant_name;

	/**
	 * 历史课程顾问ids
	 *
	 */
	private String fk_consultant_history_ids;

	/**
	 * 历史课程顾问名字
	 *
	 */
	private String consultant_history_names;

	/**
	 * 推荐人id*
	 *
	 */
	private int fk_referee_id;

	/**
	 * 推荐人姓名*
	 *
	 */
	private String referee_name;

	/**
	 * 客户来源(来源入口)0未知1课程顾问APP2课程顾问纸质3用户APP4公众号
	 *
	 */
	private int origin;

	/**
	 * 客户类别0潜在1意向2成交
	 *
	 */
	private int state;

	/**
	 * 推荐人数
	 *
	 */
	private int referee_num;

	/**
	 * 创建人用户id
	 *
	 */
	private int create_user_id;

	/**
	 * 创建人用户名
	 *
	 */
	private String create_user_name;

	/**
	 * 创建时间
	 *
	 */
	private Date create_time;

	/**
	 * 更新人用户id
	 *
	 */
	private int update_user_id;

	/**
	 * 更新人用户名
	 *
	 */
	private String update_user_name;

	/**
	 * 更新时间
	 *
	 */
	private Date update_time;

	/**
	 * 0删除1存在
	 *
	 */
	private int is_deleted;

	/**
	 * 版本号
	 */
	private int version;

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}


	public int getCustomer_id() {
		return customer_id;
	}

	public void setCustomer_id(int customer_id) {
		this.customer_id = customer_id;
	}

	public int getFk_user_id() {
		return fk_user_id;
	}

	public void setFk_user_id(int fk_user_id) {
		this.fk_user_id = fk_user_id;
	}

	public int getUser_info_id() {
		return user_info_id;
	}

	public void setUser_info_id(int user_info_id) {
		this.user_info_id = user_info_id;
	}

	public int getFk_consultant_id() {
		return fk_consultant_id;
	}

	public void setFk_consultant_id(int fk_consultant_id) {
		this.fk_consultant_id = fk_consultant_id;
	}

	public String getConsultant_name() {
		return consultant_name;
	}

	public void setConsultant_name(String consultant_name) {
		this.consultant_name = consultant_name;
	}

	public String getFk_consultant_history_ids() {
		return fk_consultant_history_ids;
	}

	public void setFk_consultant_history_ids(String fk_consultant_history_ids) {
		this.fk_consultant_history_ids = fk_consultant_history_ids;
	}

	public String getConsultant_history_names() {
		return consultant_history_names;
	}

	public void setConsultant_history_names(String consultant_history_names) {
		this.consultant_history_names = consultant_history_names;
	}

	public int getFk_referee_id() {
		return fk_referee_id;
	}

	public void setFk_referee_id(int fk_referee_id) {
		this.fk_referee_id = fk_referee_id;
	}

	public String getReferee_name() {
		return referee_name;
	}

	public void setReferee_name(String referee_name) {
		this.referee_name = referee_name;
	}

	public int getOrigin() {
		return origin;
	}

	public void setOrigin(int origin) {
		this.origin = origin;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public int getReferee_num() {
		return referee_num;
	}

	public void setReferee_num(int referee_num) {
		this.referee_num = referee_num;
	}

	public int getCreate_user_id() {
		return create_user_id;
	}

	public void setCreate_user_id(int create_user_id) {
		this.create_user_id = create_user_id;
	}

	public String getCreate_user_name() {
		return create_user_name;
	}

	public void setCreate_user_name(String create_user_name) {
		this.create_user_name = create_user_name;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public int getUpdate_user_id() {
		return update_user_id;
	}

	public void setUpdate_user_id(int update_user_id) {
		this.update_user_id = update_user_id;
	}

	public String getUpdate_user_name() {
		return update_user_name;
	}

	public void setUpdate_user_name(String update_user_name) {
		this.update_user_name = update_user_name;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	public int getIs_deleted() {
		return is_deleted;
	}

	public void setIs_deleted(int is_deleted) {
		this.is_deleted = is_deleted;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", customer_id=").append(customer_id);
		sb.append(", fk_user_id=").append(fk_user_id);
		sb.append(", user_info_id=").append(user_info_id);
		sb.append(", fk_consultant_id=").append(fk_consultant_id);
		sb.append(", consultant_name=").append(consultant_name);
		sb.append(", fk_consultant_history_ids=").append(fk_consultant_history_ids);
		sb.append(", consultant_history_names=").append(consultant_history_names);
		sb.append(", fk_referee_id=").append(fk_referee_id);
		sb.append(", referee_name=").append(referee_name);
		sb.append(", origin=").append(origin);
		sb.append(", state=").append(state);
		sb.append(", referee_num=").append(referee_num);
		sb.append(", create_user_id=").append(create_user_id);
		sb.append(", create_user_name=").append(create_user_name);
		sb.append(", create_time=").append(create_time);
		sb.append(", update_user_id=").append(update_user_id);
		sb.append(", update_user_name=").append(update_user_name);
		sb.append(", update_time=").append(update_time);
		sb.append(", is_deleted=").append(is_deleted);
		sb.append("]");
		return sb.toString();
	}

}